from selenium import webdriver
import time

#实例化配置类
options = webdriver.ChromeOptions()
#准备配置项
user_data_dir = r'--user-data-dir=C:\Users\86134\AppData\Local\Google\Chrome\User Data'
#添加配置项
options.add_argument(user_data_dir)

driver=webdriver.Chrome(options=options)
driver.get('https://mail.163.com')

time.sleep(2)
driver.quit()
